package com.onlinelibrary.bean;

import android.widget.ImageView;

import androidx.databinding.BindingAdapter;

public class MeListBean {
    public int id;
    public String name;
    public MeListBean(int id, String name){
        this.id=id;
        this.name=name;
    }

    @BindingAdapter("bindIcon")
    public static void bindIcon(ImageView imageView,int id){
        imageView.setImageResource(id);
    }
}
